package com.xuecheng.content.service;

import com.xuecheng.content.model.dto.AddCourseTeacherDto;
import com.xuecheng.content.model.dto.EditCourseTeacherDto;
import com.xuecheng.content.model.po.CourseTeacher;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @Description 课程老师接口
 * @Author dingchunlin
 * @Date 2024/3/30 11:23
 * @Version 1.0.0
 */
public interface CourseTeacherService {

    /**
     * 根据课程id查询教师信息
     * @param courseId
     * @return
     */
    List<CourseTeacher> selectByCourseId(Long courseId);

    /**
     * 添加或修改课程教师信息
     * @param courseTeacherDto
     * @param companyId
     * @return
     */
    CourseTeacher saveOrEditCourseTeacher(Long companyId , EditCourseTeacherDto courseTeacherDto);

    /**
     * 删除课程教师
     * @param companyId
     * @param courseId
     * @param courseTeacherId
     */
    void deleteCourseTeacher(Long companyId, Long courseId, Long courseTeacherId);

}
